using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using KickStart.Helpers;
using KickStart.Models;

namespace KickStart.Controllers
{
    public class ApiController : Controller
    {
        //[AcceptVerbs(HttpVerbs.Post)]
        //public ActionResult UserDelete(string token, string format, Guid? id)
        //{
        //    if (IsValidToken(token))
        //    {

        //    }
        //}
        [AcceptVerbs(HttpVerbs.Get)]
        public ActionResult Index()
        {
            return View();
        }

        [AuthorizeWithToken]
        [JsonPox]
        public ActionResult TestLogin()
        {
            ViewData.Model = new ApiResponse { success = true, message = "Your api call authenticated fine." };
            return View();
        }
    }
}